package com.dc.gameserver.serverCore.model.dbsql.modelVo;

import java.util.ArrayList;
import java.util.List;

public class TPointPrograssExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer limitStart;

    protected Integer limitEnd;

    public TPointPrograssExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(Integer limitStart) {
        this.limitStart=limitStart;
    }

    public Integer getLimitStart() {
        return limitStart;
    }

    public void setLimitEnd(Integer limitEnd) {
        this.limitEnd=limitEnd;
    }

    public Integer getLimitEnd() {
        return limitEnd;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPointidIsNull() {
            addCriterion("POINTID is null");
            return (Criteria) this;
        }

        public Criteria andPointidIsNotNull() {
            addCriterion("POINTID is not null");
            return (Criteria) this;
        }

        public Criteria andPointidEqualTo(Integer value) {
            addCriterion("POINTID =", value, "pointid");
            return (Criteria) this;
        }

        public Criteria andPointidNotEqualTo(Integer value) {
            addCriterion("POINTID <>", value, "pointid");
            return (Criteria) this;
        }

        public Criteria andPointidGreaterThan(Integer value) {
            addCriterion("POINTID >", value, "pointid");
            return (Criteria) this;
        }

        public Criteria andPointidGreaterThanOrEqualTo(Integer value) {
            addCriterion("POINTID >=", value, "pointid");
            return (Criteria) this;
        }

        public Criteria andPointidLessThan(Integer value) {
            addCriterion("POINTID <", value, "pointid");
            return (Criteria) this;
        }

        public Criteria andPointidLessThanOrEqualTo(Integer value) {
            addCriterion("POINTID <=", value, "pointid");
            return (Criteria) this;
        }

        public Criteria andPointidIn(List<Integer> values) {
            addCriterion("POINTID in", values, "pointid");
            return (Criteria) this;
        }

        public Criteria andPointidNotIn(List<Integer> values) {
            addCriterion("POINTID not in", values, "pointid");
            return (Criteria) this;
        }

        public Criteria andPointidBetween(Integer value1, Integer value2) {
            addCriterion("POINTID between", value1, value2, "pointid");
            return (Criteria) this;
        }

        public Criteria andPointidNotBetween(Integer value1, Integer value2) {
            addCriterion("POINTID not between", value1, value2, "pointid");
            return (Criteria) this;
        }

        public Criteria andPointstarnumIsNull() {
            addCriterion("POINTSTARNUM is null");
            return (Criteria) this;
        }

        public Criteria andPointstarnumIsNotNull() {
            addCriterion("POINTSTARNUM is not null");
            return (Criteria) this;
        }

        public Criteria andPointstarnumEqualTo(Byte value) {
            addCriterion("POINTSTARNUM =", value, "pointstarnum");
            return (Criteria) this;
        }

        public Criteria andPointstarnumNotEqualTo(Byte value) {
            addCriterion("POINTSTARNUM <>", value, "pointstarnum");
            return (Criteria) this;
        }

        public Criteria andPointstarnumGreaterThan(Byte value) {
            addCriterion("POINTSTARNUM >", value, "pointstarnum");
            return (Criteria) this;
        }

        public Criteria andPointstarnumGreaterThanOrEqualTo(Byte value) {
            addCriterion("POINTSTARNUM >=", value, "pointstarnum");
            return (Criteria) this;
        }

        public Criteria andPointstarnumLessThan(Byte value) {
            addCriterion("POINTSTARNUM <", value, "pointstarnum");
            return (Criteria) this;
        }

        public Criteria andPointstarnumLessThanOrEqualTo(Byte value) {
            addCriterion("POINTSTARNUM <=", value, "pointstarnum");
            return (Criteria) this;
        }

        public Criteria andPointstarnumIn(List<Byte> values) {
            addCriterion("POINTSTARNUM in", values, "pointstarnum");
            return (Criteria) this;
        }

        public Criteria andPointstarnumNotIn(List<Byte> values) {
            addCriterion("POINTSTARNUM not in", values, "pointstarnum");
            return (Criteria) this;
        }

        public Criteria andPointstarnumBetween(Byte value1, Byte value2) {
            addCriterion("POINTSTARNUM between", value1, value2, "pointstarnum");
            return (Criteria) this;
        }

        public Criteria andPointstarnumNotBetween(Byte value1, Byte value2) {
            addCriterion("POINTSTARNUM not between", value1, value2, "pointstarnum");
            return (Criteria) this;
        }

        public Criteria andPointstatusIsNull() {
            addCriterion("POINTSTATUS is null");
            return (Criteria) this;
        }

        public Criteria andPointstatusIsNotNull() {
            addCriterion("POINTSTATUS is not null");
            return (Criteria) this;
        }

        public Criteria andPointstatusEqualTo(Byte value) {
            addCriterion("POINTSTATUS =", value, "pointstatus");
            return (Criteria) this;
        }

        public Criteria andPointstatusNotEqualTo(Byte value) {
            addCriterion("POINTSTATUS <>", value, "pointstatus");
            return (Criteria) this;
        }

        public Criteria andPointstatusGreaterThan(Byte value) {
            addCriterion("POINTSTATUS >", value, "pointstatus");
            return (Criteria) this;
        }

        public Criteria andPointstatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("POINTSTATUS >=", value, "pointstatus");
            return (Criteria) this;
        }

        public Criteria andPointstatusLessThan(Byte value) {
            addCriterion("POINTSTATUS <", value, "pointstatus");
            return (Criteria) this;
        }

        public Criteria andPointstatusLessThanOrEqualTo(Byte value) {
            addCriterion("POINTSTATUS <=", value, "pointstatus");
            return (Criteria) this;
        }

        public Criteria andPointstatusIn(List<Byte> values) {
            addCriterion("POINTSTATUS in", values, "pointstatus");
            return (Criteria) this;
        }

        public Criteria andPointstatusNotIn(List<Byte> values) {
            addCriterion("POINTSTATUS not in", values, "pointstatus");
            return (Criteria) this;
        }

        public Criteria andPointstatusBetween(Byte value1, Byte value2) {
            addCriterion("POINTSTATUS between", value1, value2, "pointstatus");
            return (Criteria) this;
        }

        public Criteria andPointstatusNotBetween(Byte value1, Byte value2) {
            addCriterion("POINTSTATUS not between", value1, value2, "pointstatus");
            return (Criteria) this;
        }

        public Criteria andBelongareaidIsNull() {
            addCriterion("BELONGAREAID is null");
            return (Criteria) this;
        }

        public Criteria andBelongareaidIsNotNull() {
            addCriterion("BELONGAREAID is not null");
            return (Criteria) this;
        }

        public Criteria andBelongareaidEqualTo(Integer value) {
            addCriterion("BELONGAREAID =", value, "belongareaid");
            return (Criteria) this;
        }

        public Criteria andBelongareaidNotEqualTo(Integer value) {
            addCriterion("BELONGAREAID <>", value, "belongareaid");
            return (Criteria) this;
        }

        public Criteria andBelongareaidGreaterThan(Integer value) {
            addCriterion("BELONGAREAID >", value, "belongareaid");
            return (Criteria) this;
        }

        public Criteria andBelongareaidGreaterThanOrEqualTo(Integer value) {
            addCriterion("BELONGAREAID >=", value, "belongareaid");
            return (Criteria) this;
        }

        public Criteria andBelongareaidLessThan(Integer value) {
            addCriterion("BELONGAREAID <", value, "belongareaid");
            return (Criteria) this;
        }

        public Criteria andBelongareaidLessThanOrEqualTo(Integer value) {
            addCriterion("BELONGAREAID <=", value, "belongareaid");
            return (Criteria) this;
        }

        public Criteria andBelongareaidIn(List<Integer> values) {
            addCriterion("BELONGAREAID in", values, "belongareaid");
            return (Criteria) this;
        }

        public Criteria andBelongareaidNotIn(List<Integer> values) {
            addCriterion("BELONGAREAID not in", values, "belongareaid");
            return (Criteria) this;
        }

        public Criteria andBelongareaidBetween(Integer value1, Integer value2) {
            addCriterion("BELONGAREAID between", value1, value2, "belongareaid");
            return (Criteria) this;
        }

        public Criteria andBelongareaidNotBetween(Integer value1, Integer value2) {
            addCriterion("BELONGAREAID not between", value1, value2, "belongareaid");
            return (Criteria) this;
        }

        public Criteria andCompletenumIsNull() {
            addCriterion("COMPLETENUM is null");
            return (Criteria) this;
        }

        public Criteria andCompletenumIsNotNull() {
            addCriterion("COMPLETENUM is not null");
            return (Criteria) this;
        }

        public Criteria andCompletenumEqualTo(Integer value) {
            addCriterion("COMPLETENUM =", value, "completenum");
            return (Criteria) this;
        }

        public Criteria andCompletenumNotEqualTo(Integer value) {
            addCriterion("COMPLETENUM <>", value, "completenum");
            return (Criteria) this;
        }

        public Criteria andCompletenumGreaterThan(Integer value) {
            addCriterion("COMPLETENUM >", value, "completenum");
            return (Criteria) this;
        }

        public Criteria andCompletenumGreaterThanOrEqualTo(Integer value) {
            addCriterion("COMPLETENUM >=", value, "completenum");
            return (Criteria) this;
        }

        public Criteria andCompletenumLessThan(Integer value) {
            addCriterion("COMPLETENUM <", value, "completenum");
            return (Criteria) this;
        }

        public Criteria andCompletenumLessThanOrEqualTo(Integer value) {
            addCriterion("COMPLETENUM <=", value, "completenum");
            return (Criteria) this;
        }

        public Criteria andCompletenumIn(List<Integer> values) {
            addCriterion("COMPLETENUM in", values, "completenum");
            return (Criteria) this;
        }

        public Criteria andCompletenumNotIn(List<Integer> values) {
            addCriterion("COMPLETENUM not in", values, "completenum");
            return (Criteria) this;
        }

        public Criteria andCompletenumBetween(Integer value1, Integer value2) {
            addCriterion("COMPLETENUM between", value1, value2, "completenum");
            return (Criteria) this;
        }

        public Criteria andCompletenumNotBetween(Integer value1, Integer value2) {
            addCriterion("COMPLETENUM not between", value1, value2, "completenum");
            return (Criteria) this;
        }

        public Criteria andRoleidIsNull() {
            addCriterion("ROLEID is null");
            return (Criteria) this;
        }

        public Criteria andRoleidIsNotNull() {
            addCriterion("ROLEID is not null");
            return (Criteria) this;
        }

        public Criteria andRoleidEqualTo(Integer value) {
            addCriterion("ROLEID =", value, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidNotEqualTo(Integer value) {
            addCriterion("ROLEID <>", value, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidGreaterThan(Integer value) {
            addCriterion("ROLEID >", value, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidGreaterThanOrEqualTo(Integer value) {
            addCriterion("ROLEID >=", value, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidLessThan(Integer value) {
            addCriterion("ROLEID <", value, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidLessThanOrEqualTo(Integer value) {
            addCriterion("ROLEID <=", value, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidIn(List<Integer> values) {
            addCriterion("ROLEID in", values, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidNotIn(List<Integer> values) {
            addCriterion("ROLEID not in", values, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidBetween(Integer value1, Integer value2) {
            addCriterion("ROLEID between", value1, value2, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidNotBetween(Integer value1, Integer value2) {
            addCriterion("ROLEID not between", value1, value2, "roleid");
            return (Criteria) this;
        }

        public Criteria andPointpercompletenumIsNull() {
            addCriterion("POINTPERCOMPLETENUM is null");
            return (Criteria) this;
        }

        public Criteria andPointpercompletenumIsNotNull() {
            addCriterion("POINTPERCOMPLETENUM is not null");
            return (Criteria) this;
        }

        public Criteria andPointpercompletenumEqualTo(Integer value) {
            addCriterion("POINTPERCOMPLETENUM =", value, "pointpercompletenum");
            return (Criteria) this;
        }

        public Criteria andPointpercompletenumNotEqualTo(Integer value) {
            addCriterion("POINTPERCOMPLETENUM <>", value, "pointpercompletenum");
            return (Criteria) this;
        }

        public Criteria andPointpercompletenumGreaterThan(Integer value) {
            addCriterion("POINTPERCOMPLETENUM >", value, "pointpercompletenum");
            return (Criteria) this;
        }

        public Criteria andPointpercompletenumGreaterThanOrEqualTo(Integer value) {
            addCriterion("POINTPERCOMPLETENUM >=", value, "pointpercompletenum");
            return (Criteria) this;
        }

        public Criteria andPointpercompletenumLessThan(Integer value) {
            addCriterion("POINTPERCOMPLETENUM <", value, "pointpercompletenum");
            return (Criteria) this;
        }

        public Criteria andPointpercompletenumLessThanOrEqualTo(Integer value) {
            addCriterion("POINTPERCOMPLETENUM <=", value, "pointpercompletenum");
            return (Criteria) this;
        }

        public Criteria andPointpercompletenumIn(List<Integer> values) {
            addCriterion("POINTPERCOMPLETENUM in", values, "pointpercompletenum");
            return (Criteria) this;
        }

        public Criteria andPointpercompletenumNotIn(List<Integer> values) {
            addCriterion("POINTPERCOMPLETENUM not in", values, "pointpercompletenum");
            return (Criteria) this;
        }

        public Criteria andPointpercompletenumBetween(Integer value1, Integer value2) {
            addCriterion("POINTPERCOMPLETENUM between", value1, value2, "pointpercompletenum");
            return (Criteria) this;
        }

        public Criteria andPointpercompletenumNotBetween(Integer value1, Integer value2) {
            addCriterion("POINTPERCOMPLETENUM not between", value1, value2, "pointpercompletenum");
            return (Criteria) this;
        }

        public Criteria andPointlasttimesIsNull() {
            addCriterion("POINTLASTTIMES is null");
            return (Criteria) this;
        }

        public Criteria andPointlasttimesIsNotNull() {
            addCriterion("POINTLASTTIMES is not null");
            return (Criteria) this;
        }

        public Criteria andPointlasttimesEqualTo(Integer value) {
            addCriterion("POINTLASTTIMES =", value, "pointlasttimes");
            return (Criteria) this;
        }

        public Criteria andPointlasttimesNotEqualTo(Integer value) {
            addCriterion("POINTLASTTIMES <>", value, "pointlasttimes");
            return (Criteria) this;
        }

        public Criteria andPointlasttimesGreaterThan(Integer value) {
            addCriterion("POINTLASTTIMES >", value, "pointlasttimes");
            return (Criteria) this;
        }

        public Criteria andPointlasttimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("POINTLASTTIMES >=", value, "pointlasttimes");
            return (Criteria) this;
        }

        public Criteria andPointlasttimesLessThan(Integer value) {
            addCriterion("POINTLASTTIMES <", value, "pointlasttimes");
            return (Criteria) this;
        }

        public Criteria andPointlasttimesLessThanOrEqualTo(Integer value) {
            addCriterion("POINTLASTTIMES <=", value, "pointlasttimes");
            return (Criteria) this;
        }

        public Criteria andPointlasttimesIn(List<Integer> values) {
            addCriterion("POINTLASTTIMES in", values, "pointlasttimes");
            return (Criteria) this;
        }

        public Criteria andPointlasttimesNotIn(List<Integer> values) {
            addCriterion("POINTLASTTIMES not in", values, "pointlasttimes");
            return (Criteria) this;
        }

        public Criteria andPointlasttimesBetween(Integer value1, Integer value2) {
            addCriterion("POINTLASTTIMES between", value1, value2, "pointlasttimes");
            return (Criteria) this;
        }

        public Criteria andPointlasttimesNotBetween(Integer value1, Integer value2) {
            addCriterion("POINTLASTTIMES not between", value1, value2, "pointlasttimes");
            return (Criteria) this;
        }

        public Criteria andPointtypeIsNull() {
            addCriterion("POINTTYPE is null");
            return (Criteria) this;
        }

        public Criteria andPointtypeIsNotNull() {
            addCriterion("POINTTYPE is not null");
            return (Criteria) this;
        }

        public Criteria andPointtypeEqualTo(Byte value) {
            addCriterion("POINTTYPE =", value, "pointtype");
            return (Criteria) this;
        }

        public Criteria andPointtypeNotEqualTo(Byte value) {
            addCriterion("POINTTYPE <>", value, "pointtype");
            return (Criteria) this;
        }

        public Criteria andPointtypeGreaterThan(Byte value) {
            addCriterion("POINTTYPE >", value, "pointtype");
            return (Criteria) this;
        }

        public Criteria andPointtypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("POINTTYPE >=", value, "pointtype");
            return (Criteria) this;
        }

        public Criteria andPointtypeLessThan(Byte value) {
            addCriterion("POINTTYPE <", value, "pointtype");
            return (Criteria) this;
        }

        public Criteria andPointtypeLessThanOrEqualTo(Byte value) {
            addCriterion("POINTTYPE <=", value, "pointtype");
            return (Criteria) this;
        }

        public Criteria andPointtypeIn(List<Byte> values) {
            addCriterion("POINTTYPE in", values, "pointtype");
            return (Criteria) this;
        }

        public Criteria andPointtypeNotIn(List<Byte> values) {
            addCriterion("POINTTYPE not in", values, "pointtype");
            return (Criteria) this;
        }

        public Criteria andPointtypeBetween(Byte value1, Byte value2) {
            addCriterion("POINTTYPE between", value1, value2, "pointtype");
            return (Criteria) this;
        }

        public Criteria andPointtypeNotBetween(Byte value1, Byte value2) {
            addCriterion("POINTTYPE not between", value1, value2, "pointtype");
            return (Criteria) this;
        }

        public Criteria andFirststartrwardIsNull() {
            addCriterion("FIRSTSTARTRWARD is null");
            return (Criteria) this;
        }

        public Criteria andFirststartrwardIsNotNull() {
            addCriterion("FIRSTSTARTRWARD is not null");
            return (Criteria) this;
        }

        public Criteria andFirststartrwardEqualTo(Boolean value) {
            addCriterion("FIRSTSTARTRWARD =", value, "firststartrward");
            return (Criteria) this;
        }

        public Criteria andFirststartrwardNotEqualTo(Boolean value) {
            addCriterion("FIRSTSTARTRWARD <>", value, "firststartrward");
            return (Criteria) this;
        }

        public Criteria andFirststartrwardGreaterThan(Boolean value) {
            addCriterion("FIRSTSTARTRWARD >", value, "firststartrward");
            return (Criteria) this;
        }

        public Criteria andFirststartrwardGreaterThanOrEqualTo(Boolean value) {
            addCriterion("FIRSTSTARTRWARD >=", value, "firststartrward");
            return (Criteria) this;
        }

        public Criteria andFirststartrwardLessThan(Boolean value) {
            addCriterion("FIRSTSTARTRWARD <", value, "firststartrward");
            return (Criteria) this;
        }

        public Criteria andFirststartrwardLessThanOrEqualTo(Boolean value) {
            addCriterion("FIRSTSTARTRWARD <=", value, "firststartrward");
            return (Criteria) this;
        }

        public Criteria andFirststartrwardIn(List<Boolean> values) {
            addCriterion("FIRSTSTARTRWARD in", values, "firststartrward");
            return (Criteria) this;
        }

        public Criteria andFirststartrwardNotIn(List<Boolean> values) {
            addCriterion("FIRSTSTARTRWARD not in", values, "firststartrward");
            return (Criteria) this;
        }

        public Criteria andFirststartrwardBetween(Boolean value1, Boolean value2) {
            addCriterion("FIRSTSTARTRWARD between", value1, value2, "firststartrward");
            return (Criteria) this;
        }

        public Criteria andFirststartrwardNotBetween(Boolean value1, Boolean value2) {
            addCriterion("FIRSTSTARTRWARD not between", value1, value2, "firststartrward");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}